<?php

class categoryComponents extends sfComponents
{
  public function executeAll(sfWebRequest $request)
  {
    $this->categories = Doctrine_Core::getTable('BlogCategory')->
      getPublishedCategories($this->getUser()->getCulture())
    ;
  }
}